package aiku.numericalcontroloa.Model.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 员工档案缓存对象
 * @TableName employee_profile
 */
@TableName(value ="employee_profile_cache")
@Data
public class EmployeeProfileCache extends BaseEntity implements Serializable {

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 职工编号
     */
    @TableField(value = "employee_no")
    private String employeeNo;

    /**
     * 职工姓名
     */
    @TableField(value = "employee_name")
    private String employeeName;

    /**
     * 职工性别   0:男 1:女
     */
    @TableField(value = "employee_sex")
    private Integer employeeSex;

    /**
     * 职工出生日期
     */
    @TableField(value = "employee_birthday")
    private LocalDate employeeBirthday;

    /**
     * 职工年龄
     */
    @TableField(value = "employee_age")
    private Integer employeeAge;

    /**
     * 职工身份证号
     */
    @TableField(value = "employee_idcard")
    private String employeeIdcard;

    /**
     * 职工手机号
     */
    @TableField(value = "employee_email")
    private String employeeEmail;

    /**
     * 职工入职日期
     */
    @TableField(value = "employee_entry_date")
    private LocalDate employeeEntryDate;

    /**
     * 职工离职日期
     */
    @TableField(value = "employee_leave_date")
    private LocalDate employeeLeaveDate;

    /**
     * 职工合同到期日期
     */
    @TableField(value = "employee_contract_date")
    private LocalDate employeeContractDate;

    /**
     * 职工合同到期提醒日期
     */
    @TableField(value = "employee_contract_remind_date")
    private LocalDate employeeContractRemindDate;

    /**
     * 职工合同图片
     */
    @TableField(value = "employee_contract_file")
    private String employeeContractFile;

    /**
     * 职工保密协议图片
     */
    @TableField(value = "employee_secrecy_file")
    private String employeeSecrecyFile;

    /**
     * 职工备注
     */
    @TableField(value = "employee_remark")
    private String employeeRemark;

    /**
     * 职工修改人
     */
    @TableField(value = "employee_update_user")
    private String employeeUpdateUser;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}